package com.echo.entity;

import java.util.Date;

/**
 * 文章分类实体类
 */
public class Category {
    private Integer categoryId; // 分类ID
    private String categoryName; // 分类名称
    private String categoryDesc; // 分类描述
    private Date createTime;    // 创建时间
    private Date updateTime;    // 更新时间
    private Integer isDeleted;  // 是否删除（0=正常，1=已删除）
    
    // getter和setter方法
    public Integer getCategoryId() {
        return categoryId;
    }
    
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
    
    public String getCategoryName() {
        return categoryName;
    }
    
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
    
    public String getCategoryDesc() {
        return categoryDesc;
    }
    
    public void setCategoryDesc(String categoryDesc) {
        this.categoryDesc = categoryDesc;
    }
    
    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getUpdateTime() {
        return updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public Integer getIsDeleted() {
        return isDeleted;
    }
    
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}